package com.hmall.mapper;

import com.hmall.model.XtxArticleReader;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface XtxArticleReaderMapper extends MyMapper<XtxArticleReader> {
    XtxArticleReader selectByUserIdAndArticleId(@Param("userId") Integer userId,@Param("articleId") Integer articleId);

    Integer selectCountByUserId(@Param("userId") Integer userId);
}